import 'package:core_package/core_package.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app_unionad/ui/basice/base_center_alert_widget.dart';
import 'package:flutter_app_unionad/ui/basice/my_button.dart';

class AssetsDownloadSaveSuccessWidget extends BaseCloseAlertWidget {
  static Future show(BuildContext context) {
    return ShowCenterAlertDialog.showAlert(
      context,
      builder: (ctx) {
        return AssetsDownloadSaveSuccessWidget();
      },
      width: 356.px,
      height: 210.px,
      radius: 10.px,
    );
  }

  @override
  Widget buildContent(BuildContext context) {
    // TODO: implement buildContent
    return Container(
      child: Column(
        children: [
          MySizeBox(height: 25),
          Text(
            '提示',
            style: TextStyle(
              color: MyColors.formHex('#272727FF'),
              fontSize: 16.px,
              fontWeight: MyFontWeight.bold,
            ),
          ),
          MySizeBox(height: 23),

          Row(
            mainAxisSize: MainAxisSize.min,
            children: [
              Text(
                '复制文案       --------       ',
                style: TextStyle(
                  color: MyColors.formHex('#272727FF'),
                  fontSize: 13.px,
                  fontWeight: MyFontWeight.regular,
                ),
              ),
              Text(
                '复制成功',
                style: TextStyle(
                  color: MyColors.formHex('#F8BA35FF'),
                  fontSize: 13.px,
                  fontWeight: MyFontWeight.regular,
                ),
              ),
            ],
          ),
          MySizeBox(height: 10),

          Row(
            mainAxisSize: MainAxisSize.min,
            children: [
              Text(
                '下载素材       --------       ',
                style: TextStyle(
                  color: MyColors.formHex('#272727FF'),
                  fontSize: 13.px,
                  fontWeight: MyFontWeight.regular,
                ),
              ),
              Text(
                '下载完成',
                style: TextStyle(
                  color: MyColors.formHex('#F8BA35FF'),
                  fontSize: 13.px,
                  fontWeight: MyFontWeight.regular,
                ),
              ),
            ],
          ),
          MySizeBox(height: 30),

          MyButton(
            title: '知道了',
            width: 100.px,
            onTap: (){
              Navigator.pop(context);
            },
          ),
        ],
      ),
    );
  }
}
